package com;

public class CreditNoteBean 
{
	
	private int cdcredlimit,cdprodquantity;
	private String cddt,cdprodname,cdcustomername,cdcustomercode,cdordnumber,cdinvoicenum,cdcustinvoicenum,cdrejectionreason;
	private double cdtaxationcat,cdprodrate,cdnetamount,cdtaxamount,cdtransport,cdtotalamount;
	
	public String getSalesOrderNumber()
	{ 
		return cdordnumber; 
	} 
	public void setSalesOrderNumber(String cdordnumber) 
	{ 
		this.cdordnumber = cdordnumber; 
	}
	
	public String getInvoiceNumber()
	{ 
		return cdinvoicenum; 
	} 
	public void setInvoiceNumber(String cdinvoicenum) 
	{ 
		this.cdinvoicenum = cdinvoicenum; 
	}
	
	public String getDate()
	{ 
		return cddt; 
	} 
	public void setDate(String cddt) 
	{ 
		this.cddt=cddt;; 
	}
	
	public String getCustomerName()
	{ 
		return cdcustomername; 
	} 
	public void setCustomerName(String cdcustomername) 
	{ 
		this.cdcustomername = cdcustomername; 
	}

	public String getCustomerCode()
	{ 
		return cdcustomercode; 
	} 
	public void setCustomerCode(String cdcustomercode) 
	{ 
		this.cdcustomercode = cdcustomercode; 
	}
		
	public String getProductName()
	{ 
		return cdprodname; 
	} 
	public void setProductName(String cdproductname) 
	{ 
		this.cdprodname = cdproductname; 
	}
	
	public int getProductQuantity()
	{ 
		return cdprodquantity; 
	} 
	public void setProductQuantity(int cdprodquantity) 
	{ 
		this.cdprodquantity = cdprodquantity; 
	}
	
	public double getProductRate()
	{ 
		return cdprodrate; 
	} 
	public void setProductRate(double cdprodurate) 
	{ 
		this.cdprodrate = cdprodurate; 
	}
	
	public double getNetAmount()
	{ 
		return cdnetamount; 
	} 
	public void setNetAmount(double cdnetamount) 
	{ 
		this.cdnetamount = cdnetamount; 
	}
	
	public double getTaxationCategory()
	{ 
		return cdtaxationcat; 
	} 
	public void setTaxationCategory(double cdtaxationcat) 
	{ 
		this.cdtaxationcat = cdtaxationcat; 
	}
	
	public double getTaxAmount()
	{ 
		return cdtaxamount; 
	} 
	public void setTaxAmount(double cdtaxamount) 
	{ 
		this.cdtaxamount = cdtaxamount; 
	}
	
	public double getTransportCharges()
	{ 
		return cdtransport; 
	} 
	public void setTransportCharges(double cdtransport) 
	{ 
		this.cdtransport = cdtransport; 
	}
	
	public double getTotalAmount()
	{ 
		return cdtotalamount; 
	} 
	public void setTotalAmount(double cdtotalamount) 
	{ 
		this.cdtotalamount = cdtotalamount; 
		}
	
	public int getCreditLimit()
	{ 
		return cdcredlimit; 
	} 
	public void setCreditLimit(int cdcredlimit) 
	{ 
		this.cdcredlimit = cdcredlimit; 
	}
	
	public String getSalesRejectionReason()
	{
		return cdrejectionreason;
	}
	public void setSalesRejectionReason(String cdrejectionreason)
	{
		this.cdrejectionreason=cdrejectionreason;
	}
	
/*	public SalesUserBean (ResultSet rs) throws SQLException
	   {
		invoicenum=rs.getString("innum");
		date=rs.getString("date");
		customername=rs.getString("scname");
		customercode=rs.getString("sccode");
		prodname=rs.getString("stname");
		prodquantity=rs.getInt("pquantity");
		prodrate=rs.getDouble("prate");
		netamount=rs.getDouble("samount");
		taxationcat=rs.getDouble("staxcat");
		taxamount=rs.getDouble("stamount");
		transportcharges=rs.getDouble("strans");
		totalamount=rs.getDouble("stota");
		creditlimit=rs.getInt("scredlim");
		
	   }
	   */	
}